package com.ftwj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftwj.entity.SysUserRole;
import com.ftwj.vo.RoleVO;
import com.ftwj.vo.UserVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    List<RoleVO> findRolesByUserId(String userId);
    void deleteById(String userId);


}

